<template>
    <div>
  跳转后的
    </div>
</template>

<script setup>
import { onMounted, ref } from 'vue';
import { useRoute } from 'vue-router';
const route = useRoute();
const id =ref()
onMounted(() => { 
    id.value = route.query.id
    console.log(id.value);
    
})
</script>

<style lang="scss" scoped>

</style>